from flask import Flask # type: ignore
from config.ReturnStatus import ReturnStatus
app = Flask(__name__)


@app.route("/")
def hello_world():
    return ReturnStatus().success(message="hello")


@app.route("/test")
def text():
    return ReturnStatus().success(message="test")

@app.route("/false")
def false():
    return ReturnStatus().failed(message="false",data=[1,2])